package com.neusoft.neuiotms.dcom.repository.alter;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.alter.AlterCountersignatureApproval;

public interface AlterCountersignatureApprovalRepository
        extends JpaRepository<AlterCountersignatureApproval, Long> {

    AlterCountersignatureApproval findByWorkNumAndTaskId(String workNum, String taskId);

    AlterCountersignatureApproval findTopByWorkNumOrderByIdDesc(String workNum);

}
